﻿using System;

namespace codeparser.net
{
    /// <summary>
    /// Represents an expression replacement.
    /// </summary>
    public class ExpressionReplacement
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ExpressionReplacement" /> type.
        /// </summary>
        /// <param name="expression">The expression.</param>
        /// <param name="replacement">The replacement.</param>
        public ExpressionReplacement(string expression, string replacement)
        {
            this.Expression = expression;
            this.Replacement = replacement;
        }

        /// <summary>
        /// Gets or sets the expression.
        /// </summary>
        /// <value>The expression.</value>
        public string Expression
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the replacement.
        /// </summary>
        /// <value>The replacement.</value>
        public string Replacement
        {
            get;
            set;
        }
    }
}